@import url(./normal.css);
@import url(./news.css);

:root {
    --main-color: #4ba0ec;
    --black-color: #1d1d1f;
    --max-width: 900px;
    --news-bar-max-width: 1200px;
}

[v-cloak] {
    display: none;
}

#app {
    padding-bottom: 50px;
}

.loading {
    display: flex;
    justify-content: center;
}

.menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background-color: #fff;
    height: 50px;
}

.menu a {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 767px) {
    .menu {
        display: none;
    }
}

.ad {
    width: 100%;
    text-align: center;
    font-size: var(--s-fontsize);
    margin: 5px auto;
    padding: 5px;
    background-color: var(--main-color);
    max-width: 650px;
    max-height: 400px;
    color: #ffffff;
}

.ad-wrapper {
    width: 100%;
    margin: 0 auto;
}

.ad-wrapper > div {
    display: flex;
    justify-content: center;
}

.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, .5);
    pointer-events: none;
    padding: 5px;
    border-radius: 999px;
    opacity: 0;
}

.toast.show {
    animation-name: hidden;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-direction: alternate-reverse;
}

@keyframes hidden {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}